<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交平台 - 视频中心</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #165DFF;
            --primary-light: #E8F3FF;
            --primary-dark: #0E42D2;
            --secondary: #36CFC9;
            --success: #52C41A;
            --warning: #FAAD14;
            --danger: #FF4D4F;
            --dark: #1D2129;
            --gray: #86909C;
            --light: #F2F3F5;
            --border: #E5E6EB;
            --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: #F7F8FA;
            color: var(--dark);
            line-height: 1.6;
        }
        
        /* 导航栏样式 */
        .navbar {
            background-color: white;
            box-shadow: var(--shadow);
            padding: 0.75rem 1rem;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        .nav-link {
            color: var(--dark);
            margin-left: 1rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }
        
        .search-bar {
            max-width: 320px;
            width: 100%;
            position: relative;
        }
        
        .search-bar input {
            padding-left: 2.5rem;
            border-radius: 20px;
            background-color: var(--light);
            border: none;
        }
        
        .search-bar i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        /* 主内容区 */
        .main-content {
            padding: 2rem 0;
        }
        
        /* 视频播放区 */
        .video-player-container {
            background-color: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        
        .video-player-wrapper {
            position: relative;
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            background-color: #000;
        }
        
        .video-player {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .video-player-wrapper:hover .video-overlay {
            opacity: 1;
        }
        
        .play-pause-btn {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.9);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .play-pause-btn:hover {
            transform: scale(1.05);
        }
        
        .video-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-top: 1px solid var(--border);
            margin-top: 1rem;
        }
        
        .video-control-btn {
            background: none;
            border: none;
            color: var(--gray);
            font-size: 1.1rem;
            margin-right: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
        }
        
        .video-control-btn:hover {
            color: var(--primary);
        }
        
        .video-control-btn i {
            margin-right: 0.35rem;
        }
        
        .video-control-btn.liked {
            color: var(--danger);
        }
        
        .video-control-btn.bookmarked {
            color: var(--primary);
        }
        
        /* 视频信息区 */
        .video-info {
            margin-bottom: 1.5rem;
        }
        
        .video-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
        
        .video-meta {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .video-description {
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }
        
        /* 作者信息 */
        .video-author {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            margin-bottom: 1.5rem;
        }
        
        .author-info {
            display: flex;
            align-items: center;
        }
        
        .author-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .author-name {
            font-weight: 600;
            margin-bottom: 0.2rem;
        }
        
        .author-followers {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .follow-btn {
            padding: 0.5rem 1.25rem;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 500;
            transition: background-color 0.2s;
        }
        
        .follow-btn:hover {
            background-color: var(--primary-dark);
        }
        
        .follow-btn.following {
            background-color: white;
            color: var(--primary);
            border: 1px solid var(--primary);
        }
        
        /* 评论区 */
        .comments-section {
            margin-bottom: 2.5rem;
        }
        
        .comments-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-count {
            font-weight: 600;
            margin-right: 1rem;
        }
        
        .comments-sort {
            color: var(--primary);
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .comment-form {
            display: flex;
            margin-bottom: 2rem;
        }
        
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .comment-input {
            flex: 1;
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 0.75rem 1.25rem;
            outline: none;
            transition: border-color 0.2s;
        }
        
        .comment-input:focus {
            border-color: var(--primary);
        }
        
        .comment-submit {
            margin-left: 1rem;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 0 1.25rem;
            font-weight: 500;
            transition: background-color 0.2s;
        }
        
        .comment-submit:hover {
            background-color: var(--primary-dark);
        }
        
        .comment-item {
            display: flex;
            margin-bottom: 1.5rem;
        }
        
        .comment-content {
            flex: 1;
            background-color: var(--light);
            border-radius: 18px;
            padding: 0.75rem 1.25rem;
        }
        
        .comment-author {
            font-weight: 600;
            margin-bottom: 0.25rem;
            font-size: 0.9rem;
        }
        
        .comment-text {
            margin-bottom: 0.5rem;
        }
        
        .comment-actions {
            display: flex;
            font-size: 0.85rem;
        }
        
        .comment-action {
            color: var(--gray);
            margin-right: 1rem;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--danger);
        }
        
        /* 推荐视频区 */
        .related-videos {
            margin-bottom: 2.5rem;
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            color: var(--primary);
            margin-right: 0.5rem;
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .video-card {
            border-radius: 8px;
            overflow: hidden;
            background-color: white;
            box-shadow: var(--shadow);
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }
        
        .video-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        .video-thumbnail {
            position: relative;
            width: 100%;
        }
        
        .video-thumbnail img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
        }
        
        .video-duration {
            position: absolute;
            bottom: 0.5rem;
            right: 0.5rem;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            font-size: 0.75rem;
            padding: 0.15rem 0.35rem;
            border-radius: 3px;
        }
        
        .video-card-info {
            padding: 0.75rem;
        }
        
        .video-card-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }
        
        .video-card-author {
            font-size: 0.85rem;
            color: var(--gray);
            margin-bottom: 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .video-card-stats {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* 视频分类标签 */
        .video-categories {
            margin-bottom: 2rem;
        }
        
        .category-tabs {
            display: flex;
            gap: 0.75rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
            scrollbar-width: thin;
        }
        
        .category-tab {
            padding: 0.5rem 1.25rem;
            background-color: white;
            border: 1px solid var(--border);
            border-radius: 20px;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .category-tab.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .category-tab:hover:not(.active) {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        /* 视频播放列表 */
        .video-playlist {
            background-color: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            margin-bottom: 2.5rem;
        }
        
        .playlist-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .playlist-title {
            font-size: 1.25rem;
            font-weight: 600;
        }
        
        .playlist-count {
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .playlist-videos {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .playlist-video-item {
            display: flex;
            align-items: center;
            padding: 0.75rem;
            border-radius: 8px;
            transition: background-color 0.2s;
            cursor: pointer;
        }
        
        .playlist-video-item:hover {
            background-color: var(--light);
        }
        
        .playlist-video-item.active {
            background-color: var(--primary-light);
        }
        
        .playlist-video-thumbnail {
            position: relative;
            width: 120px;
            flex-shrink: 0;
        }
        
        .playlist-video-thumbnail img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            border-radius: 6px;
        }
        
        .playlist-video-info {
            margin-left: 1rem;
            flex: 1;
            min-width: 0;
        }
        
        .playlist-video-title {
            font-weight: 500;
            margin-bottom: 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .playlist-video-author {
            font-size: 0.85rem;
            color: var(--gray);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
            
            .video-controls {
                flex-wrap: wrap;
                gap: 0.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .video-title {
                font-size: 1.25rem;
            }
            
            .video-control-btn {
                margin-right: 1rem;
                font-size: 1rem;
            }
            
            .video-control-btn span {
                display: none;
            }
            
            .video-control-btn i {
                margin-right: 0;
            }
            
            .playlist-video-thumbnail {
                width: 100px;
            }
        }
        
        @media (max-width: 576px) {
            .main-content {
                padding: 1.5rem 0;
            }
            
            .video-player-container,
            .video-playlist {
                padding: 1rem;
            }
            
            .video-grid {
                grid-template-columns: 1fr;
            }
            
            .comment-form {
                flex-direction: column;
            }
            
            .comment-avatar {
                margin-bottom: 0.75rem;
                margin-right: 0;
            }
            
            .comment-submit {
                margin-left: 0;
                margin-top: 0.75rem;
                width: 100%;
            }
            
            .playlist-video-thumbnail {
                width: 80px;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a class="navbar-brand" href="#">社交平台</a>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-home me-1"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="#"><i class="fas fa-video me-1"></i> 视频</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-compass me-1"></i> 发现</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-users me-1"></i> 社区</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-chart-line me-1"></i> 排行榜</a>
                    </li>
                </ul>
                
                <div class="search-bar d-flex">
                    <i class="fas fa-search"></i>
                    <input type="search" class="form-control" placeholder="搜索视频、用户或话题">
                </div>
                
                <ul class="navbar-nav ms-3">
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="far fa-user me-1"></i> 我的</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <div class="container main-content">
        <!-- 视频分类标签 -->
        <div class="video-categories">
            <div class="category-tabs">
                <div class="category-tab active">推荐视频</div>
                <div class="category-tab">热门挑战</div>
                <div class="category-tab">音乐</div>
                <div class="category-tab">舞蹈</div>
                <div class="category-tab">美食</div>
                <div class="category-tab">旅行</div>
                <div class="category-tab">健身</div>
                <div class="category-tab">游戏</div>
                <div class="category-tab">搞笑</div>
                <div class="category-tab">科技</div>
                <div class="category-tab">教育</div>
            </div>
        </div>
        
        <div class="row">
            <!-- 左侧主内容区 -->
            <div class="col-lg-8">
                <!-- 视频播放区 -->
                <div class="video-player-container">
                    <div class="video-player-wrapper">
                        <video class="video-player" poster="https://picsum.photos/1280/720?random=10">
                            <source src="#" type="video/mp4">
                            您的浏览器不支持HTML5视频播放
                        </video>
                        <div class="video-overlay">
                            <button class="play-pause-btn">
                                <i class="fas fa-play"></i>
                            </button>
                        </div>
                    </div>
                    
                    <div class="video-info">
                        <h1 class="video-title">2023年最值得一去的10个小众旅行地，避开人潮享受宁静</h1>
                        <div class="video-meta">
                            <span>145.2k 次观看</span> · <span>2023-06-15</span>
                        </div>
                        <p class="video-description">
                            在这个视频中，我将带您探索10个鲜为人知但风景绝美的旅行目的地。这些地方尚未被大规模开发，保留了原始的自然风光和人文气息。无论您是喜欢海滩、山脉、古城还是自然奇观，这里都有适合您的选择。跟随我的镜头，一起发现这些隐藏的宝藏地点吧！
                        </p>
                    </div>
                    
                    <div class="video-author">
                        <div class="author-info">
                            <img src="https://picsum.photos/100/100?random=20" alt="作者头像" class="author-avatar">
                            <div>
                                <div class="author-name">旅行家陈默</div>
                                <div class="author-followers">24.5k 粉丝</div>
                            </div>
                        </div>
                        <button class="follow-btn">关注</button>
                    </div>
                    
                    <div class="video-controls">
                        <div>
                            <button class="video-control-btn liked">
                                <i class="fas fa-heart"></i>
                                <span>12.5k</span>
                            </button>
                            <button class="video-control-btn">
                                <i class="far fa-comment"></i>
                                <span>348</span>
                            </button>
                            <button class="video-control-btn">
                                <i class="fas fa-share"></i>
                                <span>分享</span>
                            </button>
                        </div>
                        <div>
                            <button class="video-control-btn bookmarked">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 评论区 -->
                <div class="video-player-container comments-section">
                    <div class="comments-header">
                        <div class="comments-count">348 条评论</div>
                        <div class="comments-sort">
                            <i class="fas fa-sort"></i> 按热度排序
                        </div>
                    </div>
                    
                    <div class="comment-form">
                        <img src="https://picsum.photos/100/100?random=30" alt="你的头像" class="comment-avatar">
                        <input type="text" class="comment-input" placeholder="写下你的评论...">
                        <button class="comment-submit">发布</button>
                    </div>
                    
                    <div class="comments-list">
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=31" alt="用户头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-author">摄影爱好者小李</div>
                                <div class="comment-text">这些地方看起来真的太美了！特别是第三个海滩，请问具体位置在哪里？计划下个月去旅行。</div>
                                <div class="comment-actions">
                                    <div class="comment-action liked">
                                        <i class="far fa-heart"></i> 128
                                    </div>
                                    <div class="comment-action">回复</div>
                                    <div class="comment-action">1天前</div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=32" alt="用户头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-author">旅行博主小王</div>
                                <div class="comment-text">去过其中的两个地方，确实名不虚传！作者推荐的很到位，这些地方都还没有太多游客，体验非常好。</div>
                                <div class="comment-actions">
                                    <div class="comment-action">
                                        <i class="far fa-heart"></i> 86
                                    </div>
                                    <div class="comment-action">回复</div>
                                    <div class="comment-action">2天前</div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="comment-item">
                            <img src="https://picsum.photos/100/100?random=33" alt="用户头像" class="comment-avatar">
                            <div class="comment-content">
                                <div class="comment-author">户外探险家</div>
                                <div class="comment-text">视频拍得真不错，画面质量很高，配乐也很应景。请问用什么设备拍摄的？</div>
                                <div class="comment-actions">
                                    <div class="comment-action">
                                        <i class="far fa-heart"></i> 54
                                    </div>
                                    <div class="comment-action">回复</div>
                                    <div class="comment-action">3天前</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="text-center mt-4">
                        <a href="#" class="view-all">查看全部评论 <i class="fas fa-angle-right"></i></a>
                    </div>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="col-lg-4">
                <!-- 视频播放列表 -->
                <div class="video-playlist">
                    <div class="playlist-header">
                        <div class="playlist-title">相关视频</div>
                        <div class="playlist-count">12 个视频</div>
                    </div>
                    
                    <div class="playlist-videos">
                        <div class="playlist-video-item active">
                            <div class="playlist-video-thumbnail">
                                <img src="https://picsum.photos/320/180?random=10" alt="视频缩略图">
                                <div class="video-duration">12:35</div>
                            </div>
                            <div class="playlist-video-info">
                                <div class="playlist-video-title">2023年最值得一去的10个小众旅行地</div>
                                <div class="playlist-video-author">旅行家陈默</div>
                            </div>
                        </div>
                        
                        <div class="playlist-video-item">
                            <div class="playlist-video-thumbnail">
                                <img src="https://picsum.photos/320/180?random=11" alt="视频缩略图">
                                <div class="video-duration">08:42</div>
                            </div>
                            <div class="playlist-video-info">
                                <div class="playlist-video-title">旅行摄影技巧：如何拍出令人惊艳的风景照</div>
                                <div class="playlist-video-author">旅行家陈默</div>
                            </div>
                        </div>
                        
                        <div class="playlist-video-item">
                            <div class="playlist-video-thumbnail">
                                <img src="https://picsum.photos/320/180?random=12" alt="视频缩略图">
                                <div class="video-duration">15:18</div>
                            </div>
                            <div class="playlist-video-info">
                                <div class="playlist-video-title">独自旅行安全指南：女生必看的注意事项</div>
                                <div class="playlist-video-author">环球旅行者</div>
                            </div>
                        </div>
                        
                        <div class="playlist-video-item">
                            <div class="playlist-video-thumbnail">
                                <img src="https://picsum.photos/320/180?random=13" alt="视频缩略图">
                                <div class="video-duration">06:55</div>
                            </div>
                            <div class="playlist-video-info">
                                <div class="playlist-video-title">旅行打包技巧：如何用一个背包装下所有必需品</div>
                                <div class="playlist-video-author">旅行收纳达人</div>
                            </div>
                        </div>
                        
                        <div class="playlist-video-item">
                            <div class="playlist-video-thumbnail">
                                <img src="https://picsum.photos/320/180?random=14" alt="视频缩略图">
                                <div class="video-duration">22:10</div>
                            </div>
                            <div class="playlist-video-info">
                                <div class="playlist-video-title">欧洲小众城市探索：远离喧嚣的文化之旅</div>
                                <div class="playlist-video-author">背包客小马</div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐视频 -->
                <div class="related-videos">
                    <h3 class="section-title"><i class="fas fa-fire-alt"></i> 热门推荐</h3>
                    <div class="video-grid">
                        <div class="video-card">
                            <div class="video-thumbnail">
                                <img src="https://picsum.photos/400/225?random=41" alt="视频缩略图">
                                <div class="video-duration">10:24</div>
                            </div>
                            <div class="video-card-info">
                                <div class="video-card-title">5种简单又美味的早餐做法，10分钟就能搞定</div>
                                <div class="video-card-author">美食家小雨</div>
                                <div class="video-card-stats">89.3k 次观看 · 3天前</div>
                            </div>
                        </div>
                        
                        <div class="video-card">
                            <div class="video-thumbnail">
                                <img src="https://picsum.photos/400/225?random=42" alt="视频缩略图">
                                <div class="video-duration">18:45</div>
                            </div>
                            <div class="video-card-info">
                                <div class="video-card-title">初学者摄影完全指南：从设备到构图</div>
                                <div class="video-card-author">光影记录者</div>
                                <div class="video-card-stats">124.7k 次观看 · 1周前</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 更多推荐视频 -->
        <div class="related-videos">
            <h3 class="section-title"><i class="fas fa-thumbs-up"></i> 为你推荐</h3>
            <div class="video-grid">
                <div class="video-card">
                    <div class="video-thumbnail">
                        <img src="https://picsum.photos/400/225?random=51" alt="视频缩略图">
                        <div class="video-duration">07:32</div>
                    </div>
                    <div class="video-card-info">
                        <div class="video-card-title">居家健身：15分钟全身训练，无需任何器械</div>
                        <div class="video-card-author">健身教练张婷</div>
                        <div class="video-card-stats">215.4k 次观看 · 2天前</div>
                    </div>
                </div>
                
                <div class="video-card">
                    <div class="video-thumbnail">
                        <img src="https://picsum.photos/400/225?random=52" alt="视频缩略图">
                        <div class="video-duration">14:28</div>
                    </div>
                    <div class="video-card-info">
                        <div class="video-card-title">2023年最新科技产品评测：值得入手的5款设备</div>
                        <div class="video-card-author">科技评论员老王</div>
                        <div class="video-card-stats">187.2k 次观看 · 4天前</div>
                    </div>
                </div>
                
                <div class="video-card">
                    <div class="video-thumbnail">
                        <img src="https://picsum.photos/400/225?random=53" alt="视频缩略图">
                        <div class="video-duration">21:15</div>
                    </div>
                    <div class="video-card-info">
                        <div class="video-card-title">极简主义生活：我如何通过断舍离改变生活</div>
                        <div class="video-card-author">简约生活家</div>
                        <div class="video-card-stats">98.6k 次观看 · 1周前</div>
                    </div>
                </div>
                
                <div class="video-card">
                    <div class="video-thumbnail">
                        <img src="https://picsum.photos/400/225?random=54" alt="视频缩略图">
                        <div class="video-duration">09:47</div>
                    </div>
                    <div class="video-card-info">
                        <div class="video-card-title">5个提升工作效率的技巧，让你每天多出2小时</div>
                        <div class="video-card-author">职场导师李明</div>
                        <div class="video-card-stats">156.3k 次观看 · 5天前</div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视频播放控制
            const video = document.querySelector('.video-player');
            const playPauseBtn = document.querySelector('.play-pause-btn');
            const videoOverlay = document.querySelector('.video-overlay');
            
            playPauseBtn.addEventListener('click', togglePlayPause);
            videoOverlay.addEventListener('click', togglePlayPause);
            
            function togglePlayPause() {
                if (video.paused || video.ended) {
                    video.play();
                    playPauseBtn.innerHTML = '<i class="fas fa-pause"></i>';
                } else {
                    video.pause();
                    playPauseBtn.innerHTML = '<i class="fas fa-play"></i>';
                }
            }
            
            // 视频播放状态变化时更新按钮
            video.addEventListener('play', function() {
                playPauseBtn.innerHTML = '<i class="fas fa-pause"></i>';
            });
            
            video.addEventListener('pause', function() {
                playPauseBtn.innerHTML = '<i class="fas fa-play"></i>';
            });
            
            // 点赞按钮交互
            const likeBtn = document.querySelector('.video-control-btn.liked');
            likeBtn.addEventListener('click', function() {
                this.classList.toggle('liked');
                const icon = this.querySelector('i');
                if (this.classList.contains('liked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
            
            // 收藏按钮交互
            const bookmarkBtn = document.querySelector('.video-control-btn.bookmarked');
            bookmarkBtn.addEventListener('click', function() {
                this.classList.toggle('bookmarked');
                const icon = this.querySelector('i');
                if (this.classList.contains('bookmarked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
            
            // 评论点赞交互
            const commentLikeBtns = document.querySelectorAll('.comment-action.liked, .comment-action:has(.far.fa-heart)');
            commentLikeBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                    }
                });
            });
            
            // 关注按钮交互
            const followBtn = document.querySelector('.follow-btn');
            followBtn.addEventListener('click', function() {
                this.classList.toggle('following');
                if (this.classList.contains('following')) {
                    this.textContent = '已关注';
                } else {
                    this.textContent = '关注';
                }
            });
            
            // 分类标签切换
            const categoryTabs = document.querySelectorAll('.category-tab');
            categoryTabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    categoryTabs.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 播放列表项选择
            const playlistItems = document.querySelectorAll('.playlist-video-item');
            playlistItems.forEach(item => {
                item.addEventListener('click', function() {
                    playlistItems.forEach(i => i.classList.remove('active'));
                    this.classList.add('active');
                    
                    // 在实际应用中，这里会加载并播放选中的视频
                    const videoTitle = this.querySelector('.playlist-video-title').textContent;
                    document.querySelector('.video-title').textContent = videoTitle;
                    
                    // 更新视频缩略图
                    const videoThumbnail = this.querySelector('.playlist-video-thumbnail img').src;
                    document.querySelector('.video-player').poster = videoThumbnail;
                    video.pause();
                    playPauseBtn.innerHTML = '<i class="fas fa-play"></i>';
                });
            });
            
            // 视频卡片点击事件
            const videoCards = document.querySelectorAll('.video-card');
            videoCards.forEach(card => {
                card.addEventListener('click', function() {
                    // 在实际应用中，这里会加载并播放选中的视频
                    const videoTitle = this.querySelector('.video-card-title').textContent;
                    document.querySelector('.video-title').textContent = videoTitle;
                    
                    // 更新视频缩略图
                    const videoThumbnail = this.querySelector('.video-thumbnail img').src;
                    document.querySelector('.video-player').poster = videoThumbnail;
                    video.pause();
                    playPauseBtn.innerHTML = '<i class="fas fa-play"></i>';
                });
            });
        });
    </script>
</body>
</html>
    
